@import './common';

* {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}

a:hover {
  text-decoration: none;
}

body {
  min-width: 1226px;
}

.sidebar-c {
  width: 27px;
  position: fixed;
  right: 34px;
  top: 275px;
  background-color: #fff;
  z-index: 18;

  >ul {
    border-bottom: 1px solid #cfcbcb;

    >li {
      text-align: center;
      border: 1px solid #cfcbcb;
      border-bottom: none;
      height: 42px;
      line-height: 42px;
      transition: all 1s ease;

      >i {
        color: #8f8c8c;
        font-size: 18px;
      }

      &:hover {
        cursor: pointer;
      }

      &:hover>i {
        color: #ff6700;
        font-size: 17px;
      }
    }
  }
}

.content {
  width: 1226px;
  margin: 0 auto;

  .navbar {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;

    .logo {
      margin-right: 42px;
      background-color: #FF6B00;
      width: 55px;
      height: 55px;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
      }
    }

    .bar {
      height: 100px;
      width: 650px;
      z-index: 17;

      .bar-big {
        display: flex;
        display: -webkit-flex;
        justify-content: space-between;

        >a {
          .container1 {
            margin: 0;
            padding: 0;
            // width: 88px;
            line-height: 100px;
            // margin-right: 20px;
            font-size: 16px;
            color: #333;
            overflow: hidden;
            text-align: center;

            &:hover {
              color: #FF6B00;
              text-decoration: none;
            }

            &:hover .second-wrapper {
              display: block;
            }


            .sidebar {
              display: none;
              padding: 20px 0;
              position: absolute;
              top: 0;
              left: 0;
              width: 234px;
              height: 460px;
              background-color: rgba(105, 101, 101, .6);
              box-sizing: border-box;
              z-index: 16;

              >ul {
                >li {
                  >a {
                    .box {
                      padding-left: 30px;
                      padding-right: 15px;
                      display: flex;
                      justify-content: space-between;
                      height: 42px;
                      line-height: 42px;
                      font-size: 14px;
                      color: #fff;

                      >i {
                        font-size: 12px;
                      }

                      &:hover {
                        background-color: #FF6B00;
                      }

                    }


                    &:hover+.container {
                      display: block;
                    }
                  }


                  .container {
                    display: none;

                    .item {
                      display: flex;
                      justify-content: flex-start;
                      width: 992px;
                      height: 460px;
                      position: absolute;
                      left: 100%;
                      top: 0;
                      background-color: #fff;

                      >ul {
                        >li {
                          display: flex;
                          justify-content: flex-start;
                          align-items: center;
                          padding: 18px 20px;
                          width: 208px;
                          height: 40px;
                          font-size: 14px;
                          background-color: #fff;

                          .pic {
                            margin-right: 12px;
                            width: 40px;
                            height: 40px;

                            img {
                              width: 100%;
                              height: 100%;
                            }
                          }
                        }
                      }
                    }

                    &:hover {
                      display: block;
                    }
                  }
                }
              }
            }

            .banner {
              width: 100%;
              height: 460px;

              .swiper-container {
                width: 100%;
                height: 100%;
              }

              .swiper-wrapper {
                .swiper-slide {
                  .swi-box {
                    img {
                      width: 100%;
                      height: 100%;
                    }
                  }
                }
              }

              .swiper-pagination {
                padding-right: 39px;
                text-align: right;
                box-sizing: border-box;

                .swiper-pagination-bullet {
                  width: 6px;
                  height: 6px;
                  border: 2px solid #afabab;
                  background-color: rgba(128, 114, 114, 0.4);
                }

                .swiper-pagination-bullet-active {
                  background-color: rgba(228, 225, 225, 0.4);
                }
              }

              .swiper-button-prev {
                left: 245px;
              }

              .swiper-button-prev {
                padding: 5px;
                color: #fff;

                &:hover {
                  background-color: rgba(17, 17, 17, 1);
                }

                &::after {
                  font-size: 28px;
                  color: darkgray;
                }

                &:hover::after {
                  color: #fff;
                }
              }

              .swiper-button-next {
                padding: 5px;
                color: #fff;

                &:hover {
                  background-color: rgba(17, 17, 17, 1);
                }

                &::after {
                  font-size: 28px;
                  color: darkgray;
                }

                &:hover::after {
                  color: #fff;
                }
              }
            }
          }
        }

        .container {
          margin: 0;
          padding: 0;
          // width: 88px;
          line-height: 100px;
          // margin-right: 20px;
          font-size: 16px;
          color: #333;
          overflow: hidden;
          text-align: center;

          &:hover {
            color: #FF6B00;
            text-decoration: none;
          }


          &:hover .item ul li p:first-of-type {
            color: #333;
          }

          .item {
            display: none;
            margin: 0 auto;
            height: 229px;
            position: absolute;
            top: 140px;
            left: 0;
            // background-color: yellow;
            width: 100%;
            border: 1px solid #E0E0E0;
            box-sizing: border-box;
            background-color: #fff;

            .wrapper {
              padding: 35px;
              height: 100%;
              width: 1226px;
              margin: 0px auto;
              display: flex;
              display: -webkit-flex;
              justify-content: flex-start;
              text-align: center;
              box-sizing: border-box;

              >li {
                flex: 0 0 16.66%;
                font-size: 12px;
                border-right: 1px solid #E0E0E0;
                // background-color: pink;

                .pic {
                  width: 160px;
                  height: 110px;
                  text-align: center;
                  margin: 0 auto 16px;

                  img {
                    width: 100%;
                    height: 100%;
                  }
                }

                p:first-of-type {
                  width: 100%;
                  line-height: 20px;
                  color: #333;
                }

                p:last-of-type {
                  width: 100%;
                  line-height: 28px;
                  color: #FF6B00;
                }

              }

              >li:last-child {
                border-right: none;
              }
            }
          }

          &:hover .item {
            display: block;
          }

        }
      }
    }
  }

  .search {
    position: relative;
    width: 279px;
    height: 48px;
    display: flex;
    justify-content: flex-start;
    z-index: 10;

    >input {
      padding: 0;
      padding-left: 8px;
      width: 223px;
      height: 46px;
      font-size: 16px;
      outline: none;
      border: 1px solid #e0e0e0;

      &:focus {
        border: 1px solid #FF6B00;
      }

      &:focus~.sear-icont {
        border: 1px solid #FF6B00;
        border-left: none;
      }

      &:focus~.item {
        display: block;
      }

    }

    .item {
      display: none;
      position: absolute;
      top: 96%;
      left: 0;
      width: 223px;
      font-size: 12px;
      color: #333;
      background-color: #fff;
      border: 1px solid #FF6B00;
      border-top: none;

      >ul {
        li {
          padding-left: 12px;
          line-height: 26px;

          &:hover {
            background-color: #f5f5f5;
          }
        }
      }
    }

    .sear-icont {
      text-align: center;
      width: 52px;
      height: 46px;
      line-height: 46px;
      border: 1px solid #e0e0e0;
      color: #333;
      border-left: none;

      >i {
        font-size: 21px;
      }

      &:hover {
        color: #fff;
        background-color: #FF6B00;
      }
    }
  }
}
}

.main {
  padding-bottom: 40px;
  background-color: #F5F5F5;

  .main-box {
    width: 1226px;
    margin: 0 auto;

    .main-title {
      height: 40px;
      color: #757575;
      font-size: 12px;
      line-height: 40px;

      >span {
        padding: 0 5px;
      }
    }

    .main-body {
      display: flex;
      justify-content: space-between;

      .left {
        width: 234px;
        padding: 36px 0 36px 42px;
        background-color: #fff;
        box-sizing: border-box;


        >ul {
          >a {
            >li {
              padding: 6px 0;
              color: #757575;
              font-size: 14px;
            }

            .or {
              color: #FF6709;
            }

            .title {
              font-size: 16px;
              font-weight: 400;
              line-height: 52px;
              color: #333;
              margin: 0;
              padding: 0;
            }
          }
        }
      }

      .right {
        padding: 36px 48px;
        background: #fff;
        width: 978px;
        box-sizing: border-box;

        .user {
          padding-bottom: 40px;
          display: flex;
          justify-content: flex-start;
          border-bottom: 1px solid #b0b0b0;

          .user-left {
            display: flex;
            justify-content: flex-start;

            .left {
              padding: 0;
              margin-right: 20px;
              // background-color: violet;
              width: 160px;
              height: 160px;
              border-radius: 50%;
              overflow: hidden;
              border: 1px solid rgb(190, 185, 185);
              text-align: center;

              >img {
                padding-top: 4px;
                width: 150px;
                height: 150px;
                border-radius: 50%;
                // width: 100%;
                // height: 100%;
              }
            }

            .right {
              width: 302px;
              padding: 0;

              >p:first-child {
                padding-top: 40px;
                margin: 0;
                font-size: 24px;
                line-height: 36px;
                font-weight: 400;
                color: #616161;
              }

              >p:nth-child(2) {
                margin: 5px 0 10px;
                color: #b0b0b0;
              }

              >p:nth-child(3) {
                >a {
                  font-size: 12px;
                  color: #ff6700;
                }
              }
            }
          }

          .user-right {
            padding-top: 34px;

            >ul {
              >li {
                padding: 6px 0;
                font-size: 14px;
                line-height: 1.5;
                color: #a8a4a4;

                >span {
                  color: yellowgreen;
                }
              }
            }
          }
        }

        .icont-item {
          display: flex;
          justify-content: flex-start;
          flex-wrap: wrap;

          .box {
            padding-top: 60px;
            display: flex;
            justify-content: flex-start;
            align-items: center;

            .icont {
              width: 100px;
              height: 100px;
              margin-right: 15px;
              line-height: 100px;
              background-color: #FF6709;
              border-radius: 50%;
              text-align: center;

              >i {
                color: #fff;
                font-weight: 200;
                font-size: 50px;
              }
            }

            .text {
              width: 276px;
              color: #757575;

              >p {
                >span {
                  font-size: 18px;
                  color: #FF6709;
                  font-weight: 600;
                }
              }

              >p:first-child {
                height: 32px;
                line-height: 32px;
                font-size: 18px;
              }

              >p:last-child {
                font-size: 14px;

                >i {
                  font-size: 14px;
                  font-weight: 700;
                }
              }
            }
          }

          >div:nth-child(2) {
            .icont {
              background-color: #8BC34A;
            }
          }

          >div:nth-child(3) {
            .icont {
              background-color: #2196F3;
            }
          }

          >div:nth-child(4) {
            .icont {
              background-color: #FFAB00;
            }
          }
        }
      }
    }
  }
}

.foot {
  width: 1226px;
  margin: 0 auto;

  .foot-up {
    >ul {
      width: 100%;
      display: flex;
      justify-content: space-evenly;
      padding: 27px 0;
      border-bottom: 1px solid #e0e0e0;

      >li {
        flex: 0 0 20%;
        text-align: center;
        border-left: 1px solid #e0e0e0;
        font-size: 16px;
        line-height: 25px;
        height: 25px;

        >a {
          width: 100%;
          color: #616161;
          height: 25px;
          line-height: 25px;

          >i {
            font-size: 25px;
            vertical-align: bottom;
          }
        }
      }

      >li:first-child {
        border-left: none;
      }
    }
  }

  .foot-down {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;

    .left {
      width: 960px;

      >ul {
        display: flex;
        justify-content: flex-start;

        >li {
          width: 160px;

          >p:first-child {
            margin: 0 0 26px;
            font-size: 14px;
            color: #424242;
          }

          p:not(:first-child) {
            margin: 10px 0 0;
            font-size: 12px;
            color: #757575;
          }
        }
      }
    }

    .right {
      width: 251px;
      text-align: center;
      border-left: 1px solid #e0e0e0;

      >p {
        margin: 0 0 5px 0;
      }

      .phone {
        font-size: 22px;
        line-height: 1;
        color: #ff6700;
      }

      .time {
        font-size: 12px;
        line-height: 18px;

      }

      .people {
        padding: 5px 15px;
        border: 1px solid #ff6700;
        background: #fff;
        color: #ff6700;
        outline: none;
      }

      .contact {
        font-size: 12px;
        margin-top: 10px;
        text-align: center;
        color: #616161;
      }
    }
  }
}